Function Reference

_Min

Evaluates which of the two numbers is lower.

#include <Math.au3>
_Min ( $nNum1, $nNum2 )

 

Parameters

$nNum1 First number.
$nNum2 Second number.

 

Return Value

Success: Returns the lower of the two numbers.
Failure: Returns 0.
@Error: 0 = No error.
1 = $nNum1 isn't a number.
2 = $nNum2 isn't a number.

 

Remarks

This function works with floats as well as integers.

 

Related

_Max

 

Example


#include <Math.au3>

$x = _Min(25, 10)  ; returns 10